package com.xingu.xg.po.query;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "复制节点 Query")
@Data
public class CopyNodeQuery {

    @Schema(description = "选中节点ID")
    @NotNull(message = "选中节点ID不能为空")
    private Long selectedId;

    @Schema(description = "复制的节点")
    @Valid
    private List<CopyNodeData> list;

}